package com.xishu.upgrade;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class UpgradeService {
    private static Logger logger = LoggerFactory.getLogger(UpgradeService.class);

    private static UpgradeService instance = new UpgradeService();

    private UpgradeService() {
    }

    public static UpgradeService getInstance() {
        return instance;
    }

    public void upgrade() {
        UpgradeItemService.getInstance().addUpdateTime();
        UpgradeItemService.getInstance().onlyOneScenePrice();
        UpgradeItemService.getInstance().onlyScenePrice();
        UpgradeItemService.getInstance().addUpgradeItemSceneMapping();
        UpgradeUserService.getInstance().upgradeUserPosPrivilege();
    }
}
